﻿
using B.S.ProcessEgine.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace B.S.BaseData.Infrastructure
{
    public class BaseDbContext : DbContext
    {

        /// <summary>
        ///  上下文
        /// </summary>
        /// <param name="options"></param>
        public BaseDbContext(DbContextOptions options) : base(options)
        {

        }

        /// <summary>
        /// 表单分类
        /// </summary>
        public DbSet<FormTypeInfo> FormTypeInfo { get; set; }
        /// <summary>
        /// 行业表
        /// </summary>
        public DbSet<GridProfessional>GridProFessional { get; set; }
        /// <summary>
        /// 表单
        /// </summary>
        public DbSet<FormInfo> FormInfo { get; set; }
        /// <summary>
        /// 表单明细
        /// </summary>
        public DbSet<FormInfoDetail> FormInfoDetail { get; set; }
        /// <summary>
        /// 表单节点
        /// </summary>
        public DbSet<FormNodes> FormNodes { get; set; }
    }
}
